"""Constants"""

from checkpoint.util import symbol

__all__ = [
    'NO_CHANGE', 'CREATED', 'UPDATED', 'RESTORED', 'DELETED',
    'FILE', 'DIRECTORY', 'LINK', 'RAISE_ERR'
]

# Special flag that indicates if error should be suppressed
RAISE_ERR = symbol('RAISE_ERR')

# Initialize each constant using a different integer, to make debugging easier
NO_CHANGE = -1
CREATED = 0
UPDATED = 1
RESTORED = 2
DELETED = 3

FILE = 100
DIRECTORY = 101
LINK = 102